package com.weblog.model.article;

import java.util.List;

/**
 * @author MaoLin Wang
 * @date 2019/9/2910:20
 */
public interface TreeData<T> {
    String getId();
    String getParentId();

    void setChildren(List<T> children);
    List<T> getChildren();
}